// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.util.indexing.mocks

import com.intellij.util.indexing.FileBasedIndex

open class ConfigurableNoFiletypeFileIndexer(private val dependsOnContent: Boolean) : ConfigurableFileIndexerBase() {
  override fun getInputFilter(): FileBasedIndex.InputFilter = FileBasedIndex.InputFilter { file -> additionalInputFilter(file) }

  override fun dependsOnFileContent(): Boolean = dependsOnContent
}
